package com.jdym.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 详细地址表
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbAddress对象", description="详细地址表")
public class TbAddress implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String telephone;

    @TableField("isDefault")
    private Integer isdefault;

    @TableField("Address")
    private String address;

    @TableField("detailedAddress")
    private String detailedaddress;

    @TableField("userId")
    private Integer userid;

    private Integer proid;

    private Integer cityid;

    private Integer areaid;

    private Integer streetid;


}
